package com.cswangdao.domain.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户浏览足迹表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MarketFootprint {
    private Integer id;

    /**
     * 用户表的用户ID
     */
    private Integer userId;

    /**
     * 浏览商品ID
     */
    private Integer goodsId;

    /**
     * 创建时间
     */
    @JsonFormat
    private Date addTime;


    /**
     * 更新时间
     */
    @JsonFormat
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Boolean deleted;
}